package com.naodong.shenluntiku.mvp.model.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by hujie on 17/5/31.
 */

public class StudyWrapper implements MultiItemEntity {

    public static final int TITLE = 1;
    public static final int QUICK_START = 2;
    public static final int SUBJECT = 3;
    public static final int VIDEO = 4;
    private int type ;
    private Study.Content item;
    
    private int dprId;
    private String dprTitle;
    private int dprTaskNum;
    private int dprTaskCompleteNum;
    private int drTaskCompleteNum;
    private int drAssessCompleteNum;

    public Study.Content getItem() {
        return item;
    }

    public void setItem(Study.Content item) {
        this.item = item;
    }

    public int getDprId() {
        return dprId;
    }

    public void setDprId(int dprId) {
        this.dprId = dprId;
    }

    public String getDprTitle() {
        return dprTitle;
    }

    public void setDprTitle(String dprTitle) {
        this.dprTitle = dprTitle;
    }

    public int getDprTaskNum() {
        return dprTaskNum;
    }

    public void setDprTaskNum(int dprTaskNum) {
        this.dprTaskNum = dprTaskNum;
    }

    public int getDprTaskCompleteNum() {
        return dprTaskCompleteNum;
    }

    public void setDprTaskCompleteNum(int dprTaskCompleteNum) {
        this.dprTaskCompleteNum = dprTaskCompleteNum;
    }

    public int getDrTaskCompleteNum() {
        return drTaskCompleteNum;
    }

    public void setDrTaskCompleteNum(int drTaskCompleteNum) {
        this.drTaskCompleteNum = drTaskCompleteNum;
    }

    public int getDrAssessCompleteNum() {
        return drAssessCompleteNum;
    }

    public void setDrAssessCompleteNum(int drAssessCompleteNum) {
        this.drAssessCompleteNum = drAssessCompleteNum;
    }

    public StudyWrapper(int type, Study.Content item){
        this.item = item;
        this.type = type;
    }

    public StudyWrapper(int type, int dprId, String dprTitle, int dprTaskNum, int dprTaskCompleteNum, int drTaskCompleteNum, int drAssessCompleteNum) {
        this.type = type;
        this.dprId = dprId;
        this.dprTitle = dprTitle;
        this.dprTaskNum = dprTaskNum;
        this.dprTaskCompleteNum = dprTaskCompleteNum;
        this.drTaskCompleteNum = drTaskCompleteNum;
        this.drAssessCompleteNum = drAssessCompleteNum;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
